package cn.dy.workatten.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Lucky bz_auditing_detail表对象
 *
 */
public class AuditingDetail implements Serializable {

	private static final long serialVersionUID = 5022880063644641915L;

	private long id; // id
	private long flow_id; // 流程ID
	private long pre_id; // 上一环节ID
	private long audit_id; // 审计人ID
	private Date audit_time; // 审核时间
	private String audit_remark; // 审核备注
	private String audit_sts; // 审批状态0待审批1通过2拒绝3转批
	private Date create_time; // 创建时间

	private String auditName; // 审计人名字
	private String audit_stsTxt; // 审批状态文字

	public String getAudit_stsTxt() {
		return audit_stsTxt;
	}

	public void setAudit_stsTxt(String audit_stsTxt) {
		this.audit_stsTxt = audit_stsTxt;
	}

	public String getAuditName() {
		return auditName;
	}

	public void setAuditName(String auditName) {
		this.auditName = auditName;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getFlow_id() {
		return flow_id;
	}

	public void setFlow_id(long flow_id) {
		this.flow_id = flow_id;
	}

	public long getPre_id() {
		return pre_id;
	}

	public void setPre_id(long pre_id) {
		this.pre_id = pre_id;
	}

	public long getAudit_id() {
		return audit_id;
	}

	public void setAudit_id(long audit_id) {
		this.audit_id = audit_id;
	}

	public Date getAudit_time() {
		return audit_time;
	}

	public void setAudit_time(Date audit_time) {
		this.audit_time = audit_time;
	}

	public String getAudit_remark() {
		return audit_remark;
	}

	public void setAudit_remark(String audit_remark) {
		this.audit_remark = audit_remark;
	}

	public String getAudit_sts() {
		return audit_sts;
	}

	public void setAudit_sts(String audit_sts) {
		this.audit_sts = audit_sts;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	@Override
	public String toString() {
		return "AuditingDetail [id=" + id + ", flow_id=" + flow_id + ", pre_id=" + pre_id + ", audit_id=" + audit_id
				+ ", audit_time=" + audit_time + ", audit_remark=" + audit_remark + ", audit_sts=" + audit_sts
				+ ", create_time=" + create_time + "]";
	}

	public static class AuditDetailSts {
		public static Integer WaitAudit = Integer.valueOf(0);
		public static Integer PassAudit = Integer.valueOf(1);
		public static Integer Reject = Integer.valueOf(2);
		public static Integer Transfer = Integer.valueOf(3);
	}
}
